<?php
return CMap::mergeArray(
    array(
        'developer' => 'ChangSha Yuandot Information Technology CO.,LTD.',
        'version' => 'ver: 0.2&beta;',
        'last_modify_time' => '2010-02-21',
        'backendAssets' => '/aaaa',
        'media_types' => array(
            // 图片文件
            'picture' => array('*.jpg', '*.jpeg', '*.gif', '*.png'),
            // 文档文件
            'doc' => array('*.txt', '*.wps', '*.doc', '*.docx', '*.xls', '*.xlsx', '*.pdf'),
            // 压缩文件
            'zip' => array('*.7z', '*.zip', '*.rar'),
            // 动画文件
            'flash' => array('*.swf'),
            // 视频文件
            'video' => array('*.flv'),
            // 音乐文件
            'music' => array('*.mp3'),
        ),
        // 文件上传目录
        'upload_directory' => array(
            'media' => '/upload/media/',
            'download' => '/upload/downloads/',
            'link' => '/upload/links/',
            'album' => '/upload/album/',
            'book' => '/upload/book/',
        ),
        // 上传图片缩略图宽度和高度设置（如果后台设置不正确或者没有设置时启用）
        'thumbnail' => array( 'width' => 200, 'height' => 200),
    ),
    array(
        'frontend' => require(dirname(__FILE__) . '/config_frontend.php'),
        'backend' => require(dirname(__FILE__) . '/config_backend.php'),
        'upload' => require(dirname(__FILE__) . '/config_upload.php'),
        'nodeModule' => require(dirname(__FILE__) . '/config_nodeModule.php'),
    )
);